package com.kg.sdk.dlg;

import android.content.Context;
import android.provider.SyncStateContract;
import android.widget.TextView;
import com.kg.sdk.util.CommonUtil;
import com.kg.sdk.util.Helper;

public class WaitingDialog extends KPDialogBase {
    private TextView tvWaiting;
    public WaitingDialog(Context context) {
        super(context,Helper.getStyleResId(context,"DGDialog_NoTitle_Transparent"));
        int layoutId = Helper.getLayoutResId(context,context.getPackageName(),"dlg_kp_waiting");
        setContentView(layoutId);
        //Helper.getIdResId(this,"tvUserName")
        tvWaiting = (TextView)findViewById(Helper.getIdResId(getContext(),"tvWaiting"));
    }

    @Override
    public void onBackPressed(){
    }
    public void setWaitingText(String text){
        tvWaiting.setText(text);
    }
}
